package com.darly.book.presenter.contract;

import com.darly.book.model.bean.BookDetailBean;
import com.darly.book.model.bean.BookListBean;
import com.darly.book.model.bean.HotCommentBean;
import com.darly.book.ui.base.BaseContract;
import com.darly.chinese.db.book.table.CollBookBean;

import java.util.List;


public interface BookDetailContract {
    interface View extends BaseContract.BaseView {
        void finishRefresh(BookDetailBean bean);

        void finishHotComment(List<HotCommentBean> beans);

        void finishRecommendBookList(List<BookListBean> beans);

        void waitToBookShelf();

        void errorToBookShelf();

        void succeedToBookShelf();
    }

    interface Presenter extends BaseContract.BasePresenter<View> {
        void refreshBookDetail(String bookId);

        //添加到书架上
        void addToBookShelf(CollBookBean collBook);
    }
}
